package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.WarehouseComeDetails;

/**
 * 入库明细表Mapper接口
 * 
 * @author ruoyi
 * @date 2023-05-26
 */
public interface WarehouseComeDetailsMapper 
{
    /**
     * 查询入库明细表
     * 
     * @param warehouseComeDetailsId 入库明细表主键
     * @return 入库明细表
     */
    public WarehouseComeDetails selectWarehouseComeDetailsByWarehouseComeDetailsId(String warehouseComeDetailsId);


    /**
     * 通过入库id获取入库明细列表
     * @param warehouseComeId
     * @return
     */
    public List<WarehouseComeDetails> selectWarehouseComeDetailsListByWarehouseComeId(String warehouseComeId);
    /**
     * 查询入库明细表列表
     * 
     * @param warehouseComeDetails 入库明细表
     * @return 入库明细表集合
     */
    public List<WarehouseComeDetails> selectWarehouseComeDetailsList(WarehouseComeDetails warehouseComeDetails);

    /**
     * 新增入库明细表
     * 
     * @param warehouseComeDetails 入库明细表
     * @return 结果
     */
    public int insertWarehouseComeDetails(WarehouseComeDetails warehouseComeDetails);

    /**
     * 修改入库明细表
     * 
     * @param warehouseComeDetails 入库明细表
     * @return 结果
     */
    public int updateWarehouseComeDetails(WarehouseComeDetails warehouseComeDetails);

    /**
     * 删除入库明细表
     * 
     * @param warehouseComeDetailsId 入库明细表主键
     * @return 结果
     */
    public int deleteWarehouseComeDetailsByWarehouseComeDetailsId(String warehouseComeDetailsId);

    /**
     * 批量删除入库明细表
     * 
     * @param warehouseComeDetailsIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWarehouseComeDetailsByWarehouseComeDetailsIds(String[] warehouseComeDetailsIds);

    /**
     * 更具入库id删除入库明细
     * @param warehouseComeId
     * @return
     */
    public int deleteWarehouseComDetailsByWarehouseComeId(String warehouseComeId);

    /**
     * 批量插入入库明细表
     * @param warehouseComeDetailsList
     * @return
     */
    public int insertBatchWarehouseComeDetails(List<WarehouseComeDetails> warehouseComeDetailsList);
}
